import { readonly, ref } from 'vue'
import { defineStore } from 'pinia'

export const usePremiumCelebrationStore = defineStore('premiumCelebrationStore', () => {
  const _isOpen = ref(false)
  const open = () => (_isOpen.value = true)
  const close = () => (_isOpen.value = false)

  const config = ref({
    speed: 1.2,
  })

  return {
    isOpen: readonly(_isOpen),
    open,
    close,
    config,
  }
})
